package org.shock.ss.sms.commons.utils;

public class ArrayOption {
public static int[] toInt(Object[] object) {
	int[] a= new int[object.length];
	for (int i = 0; i < object.length; i++) {
		a[i]=Integer.parseInt(object[i].toString());
	}
	return a;
}
public static String[] toString(Object[] object) {
	String[] a= new String[object.length];
	for (int i = 0; i < object.length; i++) {
		a[i]= object[i].toString() ;
	}
	return a;
}
public static String  toArrayString(int[] object) {
	String  a= "";
	for (int i = 0; i < object.length; i++) {
		if (i==0) {
			a+= ""+object[i] ;
		}else{
			a+= ","+object[i] ;
		}
		
	}
	return a;
}
}
